#ifndef IMEASURE_H
#define IMEASURE_H

#include <QObject>
#include "ettadatastruct.h"

struct IMeasureData;
class IMeasure : public QObject
{
    Q_OBJECT
public:
    IMeasure(QObject *parent = Q_NULLPTR) : QObject(parent) {}
    virtual ~IMeasure() {}

    virtual void measure(IMeasureData *data) = 0;

signals:
    void progress(const QString &info, bool stopped = false);
};

#endif // IMEASURE_H
